package com.yanlin.serviceprice.remote;

import com.yanlin.internalcommon.dto.ResponseResult;
import com.yanlin.internalcommon.request.ForecastPriceDTO;
import com.yanlin.internalcommon.response.DicDirectionResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * <p>标题：ServiceMapClient</p>
 * <p>功能：</p>
 * <p>
 * 其他说明：
 * </p>
 * <p>审核：</p>
 * <p>重构：</p>
 * <p>创建日期：2025-06-09 21:29</p>
 *
 * @author yanlin
 */
@FeignClient("service-map")
public interface ServiceMapClient {

    @RequestMapping(method = RequestMethod.GET, value = "/direction/driving")
    ResponseResult<DicDirectionResponse> direction(@RequestBody ForecastPriceDTO forecastPriceDTO);
}